@import '~@style/common.scss';
.project-report-preview-mobile {
  background: rgba(0, 0, 0, 0.06);
  font-family: PingFangSC-Medium;
  width: 100%;
  height: 100%;
  padding: 12px 8px 32px;
  overflow-y: auto;

  .mobile-btn-upside {
    display: flex;
    justify-content: center;
    margin: 8px 0 16px;
  }

  .mobile-btn-upside > :first-child {
    margin-right: 16px;
  }

  .mobile-title {
    display: flex;
    justify-content: center;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    margin: 0 8px 0;
  }

  .preview-module {
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    margin-bottom: 8px;
    font-family: PingFang SC;

    &-title {
      font-size: 16px;
      line-height: 22px;
      font-weight: 500;
      margin-bottom: 16px;
    }

    &-cont {
      line-height: 22px;
      font-weight: 400;
      white-space: pre-wrap;
      word-break: break-all;

      .tab-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;

        &-item {
          height: 32px;
          border: 1px solid $color-text-5;
          text-align: center;
          border-radius: 8px;
          line-height: 32px;
          font-size: 14px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          padding: 0 16px;
        }

        &-active {
          color: #166ff7;
          border: 1px solid #166ff7;
          background-color: #eff8ff;
          font-weight: 500;
        }
      }
      .tab-content {
        .tab-title {
          line-height: 22px;
          font-weight: 500;
          margin: 16px 0 12px;
        }
        .tab-cont-title {
          color: $color-text-3;
          margin-top: 12px;
          margin-bottom: 4px;
        }
        &-line {
          border-bottom: 0.5px solid $color-line-5;
          padding-bottom: 10px;
        }
      }
    }
  }
  .mtd-adapt-mobile-tab-bar-content {
    padding: 12px 0;
  }
  .mtd-adapt-mobile-tab .mtd-adapt-mobile-tab-pane {
    padding: 0;
  }
  .detail-cont {
    color: $color-text-3;
  }
  &:last-of-type {
    margin: 0;
  }
}
